<template>
  <view class="submitSuccessfully">
    <topTitle title="提交成功" :isBack="false">
      <template #right>
        <text @tap="goBack(1)">完成</text>
      </template>
    </topTitle>
    <view class="submitSuccessfullyCom">
      <view><image src="@/static/image/80.png" mode="widthFix" /></view>
      <view>提交成功</view>
      <view v-if="type == 1"
        >转账金额已提交成功，請等待審核，审核中请勿反复提交，请留意到账情况</view
      >
      <view v-if="type == 2">提現申請提交成功，請等待平台審核放款</view>
      <up-button
        text="返回首页"
        @tap="goReLaunch('/')"
        type="primary"
      ></up-button>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { onLoad } from "@dcloudio/uni-app";
let type = ref<number>();
onLoad((options) => {
  type.value = Number(options?.type);
});
</script>
